﻿package com.amcharts.chartClasses
{
    import flash.display.*;

    public class GraphDataItem extends Object
    {
        public var isNegative:Boolean = false;
        public var bullet:String;
        private var _filter:Object;
        public var bulletSize:Number;
        public var dataContext:Object;
        private var _percents:Object;
        public var columnSprite:Sprite;
        private var _values:Object;
        public var bulletBitmap:Bitmap;
        public var index:Number;
        public var customBullet:Object;
        public var graph:AmGraph;
        public var fillColors:Array;
        public var alpha:Number;
        public var color:Number;
        public var bulletConfig:Object;
        public var bulletSprite:Sprite;
        public var url:String;
        public var serialDataItem:SerialDataItem;
        public var y:Number;
        public var description:String;
        public var category:String;
        public var x:Number;
        static const VERSION:String = "1.8.3.1";

        public function GraphDataItem()
        {
            _values = new Object();
            _percents = new Object();
            return;
        }// end function

        public function get filter() : Object
        {
            return _filter;
        }// end function

        public function setPercent(param1:String, param2:Number) : void
        {
            _percents[param1] = param2;
            return;
        }// end function

        public function get values() : Object
        {
            return _values;
        }// end function

        public function setValue(param1:String, param2) : void
        {
            _values[param1] = param2;
            return;
        }// end function

        public function get percents() : Object
        {
            return _percents;
        }// end function

        public function set filter(param1:Object) : void
        {
            _filter = param1;
            var _loc_2:Array = [_filter];
            if (!param1)
            {
                _loc_2 = [];
            }
            if (bulletSprite)
            {
                bulletSprite.filters = _loc_2;
            }
            if (columnSprite)
            {
                columnSprite.filters = _loc_2;
            }
            return;
        }// end function

    }
}
